﻿using SqlSugar;

namespace PMRC.API.Domain
{
    /// <summary>
    /// 权限表
    /// </summary>
    [SugarTable("SYS_PERMISSION")]
    public class SysPermission
    {
        /// <summary>
        /// 权限id
        /// </summary>
        [SugarColumn(IsPrimaryKey = true, IsIdentity = true)]
        public int Id { get; set; }
        /// <summary>
        /// 权限名称
        /// </summary>
        [SugarColumn(Length = 50)]
        public string Name { get; set; }
        /// <summary>
        /// 描述
        /// </summary>
        [SugarColumn(Length = 200)]
        public string Description { get; set; }
    }
}
